/*
 * ChatGroup.java
 *
 * Created on 2007年4月14日, 上午10:32
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.pphome.orgmodel.pojo;
import com.ecomm.platcore.app.CommonGeneralModel;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.*;
import org.hibernate.annotations.Columns;

/**
 * @author pijunliang
 */
@SuppressWarnings("PPLIANG")
@Entity
@Table(name="ORG_INFO")
public class OrgInfo  extends CommonGeneralModel {
  
  public OrgInfo() {
  }

  private String  name;

  private String parentid;

  private String  children;

  private Set userInfo= new HashSet();

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getParentid() {
    return parentid;
  }

  public void setParentid(String parentid) {
    this.parentid = parentid;
  }

  public String getChildren() {
    return children;
  }

  public void setChildren(String children) {
    this.children = children;
  }

  public Set getUserInfo() {
    return userInfo;
  }

  public void setUserInfo(Set userInfo) {
    this.userInfo = userInfo;
  }
 
  
}
